package com.quartz.scheduler;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

/**
 * Created by wyj on 2017/6/27.
 */
public class MyJob implements Job {

    public void execute(JobExecutionContext jobExecutionContext)
            throws JobExecutionException{

            System.out.println("quartz===>"+new Date());

    }
}
